/**
 *Copyright (c) 2024 watereyes
 * safetymanagement is licensed under Mulan PubL v2.
 * You can use this software according to the terms and conditions of the Mulan
 * PubL v2.
 * You may obtain a copy of Mulan PubL v2 at:
 *          http://license.coscl.org.cn/MulanPubL-2.0
 * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
 * EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
 * MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
 * See the Mulan PubL v2 for more details.
 */
package com.koron.institution.bean;

import com.koron.common.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.web.multipart.MultipartFile;

import java.util.Date;

@ApiModel(value = "法规制度修订评估记录", description = "法规制度修订评估记录实体类")
public class InstitutionReviseAssessment extends BaseEntity {

    @ApiModelProperty(value = "修订描述", name = "reviseDescription", required = true)
    private String reviseDescription;

    @ApiModelProperty(value = "修订原因", name = "reviseReason", required = true)
    private String reviseReason;

    @ApiModelProperty(value = "版本号", name = "version", required = true)
    private String version;

    @ApiModelProperty(value = "记录编号", name = "code")
    private String code;

    @ApiModelProperty(value = "归档日期", name = "fileDate", required = true)
    private Date fileDate;

    @ApiModelProperty(value = "文件名称", name = "fileName", required = true)
    private String fileName;

    @ApiModelProperty(value = "文件path", name = "attachment")
    private String attachment;

    @ApiModelProperty(value = "状态:0,草稿，1.审批中，2，正常", name = "state", required = true)
    private Integer state;

    @ApiModelProperty(value = "水司code", name = "corpCode", required = true)
    private String corpCode;

    @ApiModelProperty(value = "流程id", name = "flowInstanceId")
    private String flowInstanceId;

    public String getFlowInstanceId() {
        return flowInstanceId;
    }

    public void setFlowInstanceId(String flowInstanceId) {
        this.flowInstanceId = flowInstanceId;
    }

    @ApiModelProperty(value = "文件", name = "file", required = true)
    private MultipartFile[] file;

    public MultipartFile[] getFile() {
        return file;
    }

    public void setFile(MultipartFile[] file) {
        this.file = file;
    }

    public String getReviseDescription() {
        return reviseDescription;
    }

    public void setReviseDescription(String reviseDescription) {
        this.reviseDescription = reviseDescription;
    }

    public String getReviseReason() {
        return reviseReason;
    }

    public void setReviseReason(String reviseReason) {
        this.reviseReason = reviseReason;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public Date getFileDate() {
        return fileDate;
    }

    public void setFileDate(Date fileDate) {
        this.fileDate = fileDate;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public String getAttachment() {
        return attachment;
    }

    public void setAttachment(String attachment) {
        this.attachment = attachment;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public String getCorpCode() {
        return corpCode;
    }

    public void setCorpCode(String corpCode) {
        this.corpCode = corpCode;
    }
}
